

def (forward,  left, then, fast, right) = ['forward', 'left', 'fast', 'right']

def move(dir){
    println "moving $dir"
    this
}

def and(then){
    this
}

def turn(dir){
    println "turing $dir"
    this
}

def jump(speed, dir){
    println "jumping $speed and $dir"
    this
}

move forward and then turn left
jump fast, forward and then turn right


